package br.eng.eliseu.gwt.aconchego.camera.client.service;

import java.util.List;

import br.eng.eliseu.gwt.aconchego.camera.module.AcessoCam;
import br.eng.eliseu.gwt.aconchego.camera.module.Camera;
import br.eng.eliseu.gwt.aconchego.camera.module.Usuario;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("usuario")
public interface UsuarioService extends RemoteService{

	public AcessoCam gravaAcesso(AcessoCam acesso, Boolean enviaEmail) throws Exception;

	public List<Camera> getCameras() throws Exception;

	public List<AcessoCam> listaUsuarios() throws Exception;

	public boolean enviaSenha(String email) throws Exception;

	public boolean trocaSenha(Usuario usuario)throws Exception;

	public List<AcessoCam> deletaUsuario(AcessoCam usuarioDeleta)throws Exception;


}
